import requests

url = 'http://10.2.98.171:8085/typtInterface/interface/sendCardCodeOperate'
#
data = {
    "appid": "123",
    "checkin_type": "6",
    "role": "1",
    "stunum": "15812086122",
    "eccode": "8713132076",
    "checkin_time": "2019-03-19 11:00:00",
    "card_code": "12345",
    "img_src": "",
    "video_src": "",
    "terminal_id": "123",
    "terminal_name": "123",
    "terminal_location": "123",
    "terminal_type": "",
    }


param = {
    'Data': '%s' % data,
    'MsgType': 'APP_SEND_CARDCHECKIN_BYSTUNUM'

}

result = requests.post(url, data=param).json()

print(result)
